package com.wxj.book.pojo;

import java.util.Date;

public class Major {
    /** 主键id */
    private Integer id;

    /** 专业名称 */
    private String majorName;

    /** 专业编码 */
    private String majorCode;

    /** 专业状态 */
    private Integer majorStatus;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public Major(Integer id, String majorName, String majorCode, Integer majorStatus, Date createTime, Date updateTime) {
        this.id = id;
        this.majorName = majorName;
        this.majorCode = majorCode;
        this.majorStatus = majorStatus;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Major() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName == null ? null : majorName.trim();
    }

    public String getMajorCode() {
        return majorCode;
    }

    public void setMajorCode(String majorCode) {
        this.majorCode = majorCode == null ? null : majorCode.trim();
    }

    public Integer getMajorStatus() {
        return majorStatus;
    }

    public void setMajorStatus(Integer majorStatus) {
        this.majorStatus = majorStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}